import { NgZorroAntdModule } from 'ng-zorro-antd';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from "@angular/router";
import { FormsModule } from '@angular/forms';
import { HomeComponent } from "./home.component";
import { homeRoutes } from "./home.routes";
import {LoginModule} from '../login/login.module';

@NgModule({
    imports: [
      //LoginModule,  导入此module会将login组件加入到home组件同时覆盖home组件的html
      FormsModule,
      RouterModule.forChild(homeRoutes),
      NgZorroAntdModule
    ],
    declarations: [
      HomeComponent,
    ]
  })
  export class HomeModule {
  }
  